import service from '@/utils/request'
// Fr
export const downloadFileReq = (url) => {
  return service({
    url: url,
    responseType: 'blob',
    method: 'get'
  })
}
// 文件下载
export const downloadFilePost = (data) => {
  return service({
    url: '/download/file',
    method: 'post',
    data,
    responseType: 'arraybuffer'
  })
}
